﻿namespace Web.Client.Model
{
    /// <summary>
    /// 订单
    /// </summary>
    public struct OrderModel
    {
        /// <summary>
        /// 构造
        /// </summary>
        /// <param name="id"></param>
        /// <param name="projectName"></param>
        /// <param name="totalPrice"></param>
        /// <param name="payType"></param>
        /// <param name="status"></param>
        /// <param name="createTime"></param>
        public OrderModel(int id, string projectName, decimal totalPrice, string payType, string status, string createTime)
        {
            this.Id = id;
            this.ProjectName = projectName;
            this.TotalPrice = totalPrice;
            this.PayType = payType;
            this.Status = status;
            this.CreationTime = createTime;
        }
        /// <summary>
        /// 
        /// </summary>
        public int Id;
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProjectName;
        /// <summary>
        /// 总价
        /// </summary>
        public decimal TotalPrice;
        /// <summary>
        /// 支付类型
        /// </summary>
        public string PayType;
        /// <summary>
        /// 订单状态
        /// </summary>  
        public string Status;
        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreationTime;
    }
}
